<%@ page contentType="text/html;charset=utf-8"%>
<%@ page
	import="java.io.*, java.sql.*, java.util.*, java.text.*, napal.*, util.*, napal.*"%>
<%@ page import="org.apache.ibatis.*"%>
<%@ page import="java.util.Date"%>
<%
	request.setCharacterEncoding("utf-8");
String m = (String)session.getAttribute("managerID");

	if(m==null){ %>
<script language=javascript>
			self.window.alert("권한이 없습니다.");
			location.href="Main.jsp?";
		</script>
<%}
	
%>


<%@ include file="./Header.jsp"%>
			</td>
		</TR>
		<TR HEIGHT="100">
		<td>
		
	<div class="well">
		<h2>
			<p class="text-error">기자재가 삭제되었습니다.</p>
		</h2>
	</div>
	
	<%
	if(request.getParameter("str_aid")!=null){
	String str_aid = request.getParameter("str_aid");
	String selectedCategory = request.getParameter("category");
	int aid = Integer.parseInt(str_aid);
	EquipmentDetail r = RentalHome.Detail(aid);
	String a="비공개";
	String b="삭제";
	RentalHome.delete(a, b, aid);}%>
	<a href="giguan.jsp" name="cmd" class="btn btn-inverse">목록으로</a>


<TR HEIGHT="100">
<TD><%@ include file="./bottom.jsp"%></TD> 
</TR>
</TABLE>
</body>
</html>